package base;

import java.util.Scanner;

public class HelloWorld {

    public static void main(String[] args) {

        //运算符：对常量或者变量进行操作的符号
        //表达式   用运算符连接
        //字符+操作 会先转成int

        char a = 'A';
        System.out.println(a + 1);

        //字符串就直接连接
        System.out.println("aaa" + 1);


        //+= 里面隐含了强制类型转换


        System.out.println(true || true);

//输入
        Scanner scanner = new Scanner(System.in);
        int i = scanner.nextInt();
        int i1 = scanner.nextInt();

        System.out.println(i > i1?i:i1);


        if (i > i1)
            System.out.println(i);
        else
            System.out.println(i1);




    }
}
